<%-- 
    Document   : historique
    Created on : 16 mai 2014, 14:00:23
    Author     : juge-e
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Historique</title>
    </head>
    <body>
        <h1>Historique</h1>
        <table width="80%" border="1">
            <tr><td>Date</td><td>Serveur</td><td>Methode</td><td>Id</td><td></td></tr>
            <c:forEach var="methode" items="${listeMethode}" varStatus="loop">
              
                <tr>
                    <td> <c:out value="${methode.date}"/> </td>
                    <td> <c:out value="${methode.server}"/> </td>
                    <td> <c:out value="${methode.methode}"/> </td>
                    <td> <c:out value="${methode.id}"/> </td>
                    <td> <input type="button" value="voir" onclick="self.location.href='afficherDetail?type=${methode.methode}&id=${methode.id}'" ></td>
                </tr>
           </c:forEach>
         </table>
         <form method="post" action="effacerHistorique">
            <input type="submit" value="Effacer">
               <input type="button" value="retour" onclick="self.location.href='monitor_operations.jsp'" >
        </form>
    </body>
</html>
